@zonos/elements 1.3.150 → 1.3.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-a19315fd.js → cart-0ce9e90b.js} +80 -80
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{paypal-5d326579.js → paypal-d4d0bb3c.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +5 -3
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +19 -15
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +0 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +16 -12
- package/dist/collection/components/store/translationStore/strings.arabic.js +4 -4
- package/dist/collection/components/store/translationStore/strings.base.js +4 -4
- package/dist/collection/components/store/translationStore/strings.chinese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.danish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.dutch.js +4 -4
- package/dist/collection/components/store/translationStore/strings.french.js +4 -4
- package/dist/collection/components/store/translationStore/strings.german.js +4 -4
- package/dist/collection/components/store/translationStore/strings.hebrew.js +4 -4
- package/dist/collection/components/store/translationStore/strings.indonesian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.italian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.japanese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.korean.js +4 -4
- package/dist/collection/components/store/translationStore/strings.norwegian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.polish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.portuguese.js +4 -4
- package/dist/collection/components/store/translationStore/strings.russian.js +4 -4
- package/dist/collection/components/store/translationStore/strings.spanish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.swedish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.turkish.js +4 -4
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +4 -4
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +4 -2
- package/dist/esm/{cart-260f8518.js → cart-eadc7067.js} +80 -80
- package/dist/esm/index.js +7 -7
- package/dist/esm/{paypal-5453a7db.js → paypal-897e2b5c.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +5 -3
- package/dist/esm/zonos-cart-items_13.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +19 -15
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +1 -1
- package/dist/esm/zonos-empty-state-payment_4.entry.js +2 -2
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/cart-eadc7067.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-5453a7db.js → paypal-897e2b5c.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.base.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.danish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.french.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.german.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.italian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.korean.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.polish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.russian.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +2 -2
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +2 -2
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-1cace07e.system.entry.js → p-06af7849.system.entry.js} +1 -1
- package/dist/zonos-elements/p-11063d30.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a5a1a1d9.system.js → p-28a516f8.system.js} +1 -1
- package/dist/zonos-elements/{p-2ae03baf.system.js → p-2f8909b0.system.js} +1 -1
- package/dist/zonos-elements/p-353b2453.entry.js +1 -0
- package/dist/zonos-elements/{p-0728843a.entry.js → p-3e20fb8f.entry.js} +1 -1
- package/dist/zonos-elements/{p-cb4500cc.entry.js → p-3e3e7800.entry.js} +1 -1
- package/dist/zonos-elements/{p-7cad853b.entry.js → p-3ea350e8.entry.js} +1 -1
- package/dist/zonos-elements/{p-08be2f4d.entry.js → p-43b8406e.entry.js} +1 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
- package/dist/zonos-elements/{p-84bcd390.system.entry.js → p-5784a0fc.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ebe1a0bb.system.entry.js → p-57d31762.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-50bbb2f5.entry.js → p-5d9c5413.entry.js} +1 -1
- package/dist/zonos-elements/p-5ee576e3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7ccbd8cb.system.entry.js → p-65dda2b5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c1859837.entry.js → p-7c7f0c32.entry.js} +1 -1
- package/dist/zonos-elements/p-8a4c6a42.js +1 -0
- package/dist/zonos-elements/{p-caf27d12.entry.js → p-8cb90d9e.entry.js} +1 -1
- package/dist/zonos-elements/{p-a50c36b5.system.entry.js → p-8fe71612.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dca47550.system.entry.js → p-aaecde60.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ea5b3c72.js → p-c36f823b.js} +1 -1
- package/dist/zonos-elements/{p-fbf89adf.entry.js → p-c94d82fb.entry.js} +1 -1
- package/dist/zonos-elements/{p-85e7f592.system.entry.js → p-d642f149.system.entry.js} +1 -1
- package/dist/zonos-elements/p-dec30fa4.entry.js +1 -0
- package/dist/zonos-elements/p-eb192fa3.system.js +1 -0
- package/dist/zonos-elements/{p-526d2758.system.entry.js → p-ee871492.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-260f8518.js +0 -1
- package/dist/zonos-elements/p-366be853.system.entry.js +0 -1
- package/dist/zonos-elements/p-6d2cd324.system.entry.js +0 -1
- package/dist/zonos-elements/p-92d5df16.js +0 -1
- package/dist/zonos-elements/p-d512afcf.system.js +0 -1
- package/dist/zonos-elements/p-ea866dd3.entry.js +0 -1
- package/dist/zonos-elements/p-f946289f.entry.js +0 -1
|
@@ -153,11 +153,11 @@ const stringsArabic = {
|
|
|
153
153
|
'Invalid promo code': {
|
|
154
154
|
value: 'رمز ترويجي غير صالح',
|
|
155
155
|
},
|
|
156
|
-
'It looks like you placed an order
|
|
157
|
-
value: 'يبدو أنك
|
|
156
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
157
|
+
value: 'يبدو أنك قمت بتقديم طلب مؤخرًا ([date] في [time]) تحت رقم الطلب #[orderNumber]. تحقق من بريدك الإلكتروني لتأكيد الطلب. هل أنت متأكد أنك تريد تقديم طلب آخر؟',
|
|
158
158
|
},
|
|
159
|
-
'It looks like you placed an order
|
|
160
|
-
value: 'يبدو أنك قدمت طلبًا
|
|
159
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
160
|
+
value: 'يبدو أنك قدمت طلبًا مؤخرًا ([date] في [time]). تحقق من بريدك الإلكتروني لتأكيد الطلب. هل أنت متأكد أنك تريد تقديم طلب آخر؟',
|
|
161
161
|
},
|
|
162
162
|
'Keep shopping': {
|
|
163
163
|
value: 'استمر في التسوق',
|
|
@@ -621,11 +621,11 @@ const stringsBase = {
|
|
|
621
621
|
'Invalid promo code': {
|
|
622
622
|
value: 'Invalid promo code',
|
|
623
623
|
},
|
|
624
|
-
'It looks like you placed an order
|
|
625
|
-
value: 'It looks like you placed an order
|
|
624
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
625
|
+
value: 'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?',
|
|
626
626
|
},
|
|
627
|
-
'It looks like you placed an order
|
|
628
|
-
value: 'It looks like you placed an order
|
|
627
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
628
|
+
value: 'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?',
|
|
629
629
|
},
|
|
630
630
|
'Keep shopping': {
|
|
631
631
|
value: 'Keep shopping',
|
|
@@ -1089,11 +1089,11 @@ const stringsChinese = {
|
|
|
1089
1089
|
'Invalid promo code': {
|
|
1090
1090
|
value: '无效的促销代码',
|
|
1091
1091
|
},
|
|
1092
|
-
'It looks like you placed an order
|
|
1093
|
-
value: '
|
|
1092
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
1093
|
+
value: '您似乎最近下了一个订单([date] [time]),订单号为 #[orderNumber]。请检查您的电子邮件以获取订单确认。您确定要下另一个订单吗?',
|
|
1094
1094
|
},
|
|
1095
|
-
'It looks like you placed an order
|
|
1096
|
-
value: '
|
|
1095
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
1096
|
+
value: '您似乎最近下了订单([date] [time])。请检查您的电子邮件以获取订单确认。您确定要再下一个订单吗?',
|
|
1097
1097
|
},
|
|
1098
1098
|
'Keep shopping': {
|
|
1099
1099
|
value: '继续购物',
|
|
@@ -1557,11 +1557,11 @@ const stringsDanish = {
|
|
|
1557
1557
|
'Invalid promo code': {
|
|
1558
1558
|
value: 'Ugyldig kampagnekode',
|
|
1559
1559
|
},
|
|
1560
|
-
'It looks like you placed an order
|
|
1561
|
-
value: 'Det ser ud til, at du
|
|
1560
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
1561
|
+
value: 'Det ser ud til, at du for nylig har afgivet en ordre ([date] kl. [time]) under ordrenummer #[orderNumber]. Tjek din e-mail for ordrebekræftelsen. Er du sikker på, at du vil afgive en ny ordre?',
|
|
1562
1562
|
},
|
|
1563
|
-
'It looks like you placed an order
|
|
1564
|
-
value: 'Det ser ud til, at du har afgivet en ordre for
|
|
1563
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
1564
|
+
value: 'Det ser ud til, at du har afgivet en ordre for nylig ([date] kl. [time]). Tjek din e-mail for ordrebekræftelsen. Er du sikker på, at du vil afgive en til?',
|
|
1565
1565
|
},
|
|
1566
1566
|
'Keep shopping': {
|
|
1567
1567
|
value: 'Fortsæt med at handle',
|
|
@@ -2025,11 +2025,11 @@ const stringsDutch = {
|
|
|
2025
2025
|
'Invalid promo code': {
|
|
2026
2026
|
value: 'Ongeldige promotiecode',
|
|
2027
2027
|
},
|
|
2028
|
-
'It looks like you placed an order
|
|
2029
|
-
value: 'Het lijkt erop dat je
|
|
2028
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2029
|
+
value: 'Het lijkt erop dat je onlangs een bestelling hebt geplaatst ([date] om [time]) onder bestelnummer #[orderNumber]. Controleer je e-mail voor de orderbevestiging. Weet je zeker dat je nog een bestelling wilt plaatsen?',
|
|
2030
2030
|
},
|
|
2031
|
-
'It looks like you placed an order
|
|
2032
|
-
value: 'Het lijkt erop dat je
|
|
2031
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2032
|
+
value: 'Het lijkt erop dat je onlangs een bestelling hebt geplaatst ([date] om [time]). Controleer je e-mail voor de orderbevestiging. Weet je zeker dat je er nog een wilt plaatsen?',
|
|
2033
2033
|
},
|
|
2034
2034
|
'Keep shopping': {
|
|
2035
2035
|
value: 'Blijf winkelen',
|
|
@@ -2493,11 +2493,11 @@ const stringsFrench = {
|
|
|
2493
2493
|
'Invalid promo code': {
|
|
2494
2494
|
value: 'Code promo invalide',
|
|
2495
2495
|
},
|
|
2496
|
-
'It looks like you placed an order
|
|
2497
|
-
value: 'Il semble que vous ayez passé une commande
|
|
2496
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2497
|
+
value: 'Il semble que vous ayez passé une commande récemment ([date] à [time]) sous le numéro de commande #[orderNumber]. Vérifiez votre e-mail pour la confirmation de commande. Êtes-vous sûr de vouloir passer une autre commande?',
|
|
2498
2498
|
},
|
|
2499
|
-
'It looks like you placed an order
|
|
2500
|
-
value: 'Il semble que vous ayez passé une commande
|
|
2499
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2500
|
+
value: 'Il semble que vous ayez passé une commande récemment ([date] à [time]). Vérifiez votre e-mail pour la confirmation de commande. Êtes-vous sûr de vouloir en passer une autre?',
|
|
2501
2501
|
},
|
|
2502
2502
|
'Keep shopping': {
|
|
2503
2503
|
value: 'Continuez vos achats',
|
|
@@ -2961,11 +2961,11 @@ const stringsGerman = {
|
|
|
2961
2961
|
'Invalid promo code': {
|
|
2962
2962
|
value: 'Ungültiger Aktionscode',
|
|
2963
2963
|
},
|
|
2964
|
-
'It looks like you placed an order
|
|
2965
|
-
value: 'Es sieht so aus, als hätten Sie
|
|
2964
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
2965
|
+
value: 'Es sieht so aus, als hätten Sie kürzlich eine Bestellung aufgegeben ([date] um [time]) unter der Bestellnummer #[orderNumber]. Überprüfen Sie Ihre E-Mails auf die Bestellbestätigung. Sind Sie sicher, dass Sie eine weitere Bestellung aufgeben möchten?',
|
|
2966
2966
|
},
|
|
2967
|
-
'It looks like you placed an order
|
|
2968
|
-
value: 'Es sieht so aus, als hätten Sie
|
|
2967
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
2968
|
+
value: 'Es sieht so aus, als hätten Sie kürzlich eine Bestellung aufgegeben ([date] um [time]). Überprüfen Sie Ihre E-Mails auf die Bestellbestätigung. Sind Sie sicher, dass Sie eine weitere aufgeben möchten?',
|
|
2969
2969
|
},
|
|
2970
2970
|
'Keep shopping': {
|
|
2971
2971
|
value: 'Weiter einkaufen',
|
|
@@ -3429,11 +3429,11 @@ const stringsHebrew = {
|
|
|
3429
3429
|
'Invalid promo code': {
|
|
3430
3430
|
value: 'קוד קידום מכירות לא חוקי',
|
|
3431
3431
|
},
|
|
3432
|
-
'It looks like you placed an order
|
|
3433
|
-
value: 'נראה כי ביצעת הזמנה
|
|
3432
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
3433
|
+
value: 'נראה כי ביצעת הזמנה לאחרונה ([date] ב-[time]) תחת מספר הזמנה #[orderNumber]. בדוק את הדוא"ל שלך לאישור ההזמנה. האם אתה בטוח שברצונך לבצע הזמנה נוספת?',
|
|
3434
3434
|
},
|
|
3435
|
-
'It looks like you placed an order
|
|
3436
|
-
value: 'נראה
|
|
3435
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
3436
|
+
value: 'נראה כי ביצעת הזמנה לאחרונה ([date] ב-[time]). בדוק את הדוא"ל שלך לאישור ההזמנה. האם אתה בטוח שברצונך לבצע הזמנה נוספת?',
|
|
3437
3437
|
},
|
|
3438
3438
|
'Keep shopping': {
|
|
3439
3439
|
value: 'המשך לקנות',
|
|
@@ -3897,11 +3897,11 @@ const stringsIndonesian = {
|
|
|
3897
3897
|
'Invalid promo code': {
|
|
3898
3898
|
value: 'Kode promo tidak valid',
|
|
3899
3899
|
},
|
|
3900
|
-
'It looks like you placed an order
|
|
3901
|
-
value: 'Sepertinya Anda baru saja melakukan pemesanan
|
|
3900
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
3901
|
+
value: 'Sepertinya Anda baru saja melakukan pemesanan ([date] pada [time]) dengan nomor pesanan #[orderNumber]. Periksa email Anda untuk konfirmasi pesanan. Apakah Anda yakin ingin melakukan pemesanan lain?',
|
|
3902
3902
|
},
|
|
3903
|
-
'It looks like you placed an order
|
|
3904
|
-
value: 'Sepertinya Anda baru saja melakukan pemesanan
|
|
3903
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
3904
|
+
value: 'Sepertinya Anda baru saja melakukan pemesanan ([date] pada [time]). Periksa email Anda untuk konfirmasi pesanan. Apakah Anda yakin ingin melakukan pemesanan lagi?',
|
|
3905
3905
|
},
|
|
3906
3906
|
'Keep shopping': {
|
|
3907
3907
|
value: 'Lanjutkan berbelanja',
|
|
@@ -4365,11 +4365,11 @@ const stringsItalian = {
|
|
|
4365
4365
|
'Invalid promo code': {
|
|
4366
4366
|
value: 'Codice promozionale non valido',
|
|
4367
4367
|
},
|
|
4368
|
-
'It looks like you placed an order
|
|
4369
|
-
value: "Sembra che tu abbia effettuato un ordine
|
|
4368
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
4369
|
+
value: "Sembra che tu abbia effettuato un ordine di recente ([date] alle [time]) con il numero d'ordine #[orderNumber]. Controlla la tua email per la conferma dell'ordine. Sei sicuro di voler effettuare un altro ordine?",
|
|
4370
4370
|
},
|
|
4371
|
-
'It looks like you placed an order
|
|
4372
|
-
value: "Sembra che tu abbia effettuato un ordine
|
|
4371
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
4372
|
+
value: "Sembra che tu abbia effettuato un ordine di recente ([date] alle [time]). Controlla la tua email per la conferma dell'ordine. Sei sicuro di volerne fare un altro?",
|
|
4373
4373
|
},
|
|
4374
4374
|
'Keep shopping': {
|
|
4375
4375
|
value: 'Continua a fare acquisti',
|
|
@@ -4833,11 +4833,11 @@ const stringsJapanese = {
|
|
|
4833
4833
|
'Invalid promo code': {
|
|
4834
4834
|
value: '無効なプロモーションコード',
|
|
4835
4835
|
},
|
|
4836
|
-
'It looks like you placed an order
|
|
4837
|
-
value: '
|
|
4836
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
4837
|
+
value: '最近注文をしたようです([date] [time])注文番号 #[orderNumber] で。注文確認のメールをチェックしてください。別の注文を確定してもよろしいですか?',
|
|
4838
4838
|
},
|
|
4839
|
-
'It looks like you placed an order
|
|
4840
|
-
value: '
|
|
4839
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
4840
|
+
value: '最近注文をしたようです([date] [time])。注文確認のメールを確認してください。もう一つ注文してもよろしいですか?',
|
|
4841
4841
|
},
|
|
4842
4842
|
'Keep shopping': {
|
|
4843
4843
|
value: '買い物を続ける',
|
|
@@ -5301,11 +5301,11 @@ const stringsKorean = {
|
|
|
5301
5301
|
'Invalid promo code': {
|
|
5302
5302
|
value: '유효하지 않은 프로모션 코드',
|
|
5303
5303
|
},
|
|
5304
|
-
'It looks like you placed an order
|
|
5305
|
-
value: '
|
|
5304
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
5305
|
+
value: '최근에 주문하신 것 같습니다 ([date] [time]) 주문 번호 #[orderNumber]로. 주문 확인 이메일을 확인하세요. 다른 주문을 하시겠습니까?',
|
|
5306
5306
|
},
|
|
5307
|
-
'It looks like you placed an order
|
|
5308
|
-
value: '
|
|
5307
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
5308
|
+
value: '최근에 주문을 하신 것 같습니다 ([date] [time]). 주문 확인 이메일을 확인하세요. 또 다른 주문을 하시겠습니까?',
|
|
5309
5309
|
},
|
|
5310
5310
|
'Keep shopping': {
|
|
5311
5311
|
value: '쇼핑 계속하기',
|
|
@@ -5769,11 +5769,11 @@ const stringsNorwegian = {
|
|
|
5769
5769
|
'Invalid promo code': {
|
|
5770
5770
|
value: 'Ugyldig kampanjekode',
|
|
5771
5771
|
},
|
|
5772
|
-
'It looks like you placed an order
|
|
5773
|
-
value: 'Det ser ut som du
|
|
5772
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
5773
|
+
value: 'Det ser ut som du nylig har lagt inn en bestilling ([date] kl. [time]) under ordrenummer #[orderNumber]. Sjekk e-posten din for ordrebekreftelsen. Er du sikker på at du vil legge inn en ny bestilling?',
|
|
5774
5774
|
},
|
|
5775
|
-
'It looks like you placed an order
|
|
5776
|
-
value: 'Det ser ut som du la inn en bestilling
|
|
5775
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
5776
|
+
value: 'Det ser ut som du la inn en bestilling nylig ([date] kl. [time]). Sjekk e-posten din for ordrebekreftelsen. Er du sikker på at du vil legge inn en til?',
|
|
5777
5777
|
},
|
|
5778
5778
|
'Keep shopping': {
|
|
5779
5779
|
value: 'Fortsett å handle',
|
|
@@ -6237,11 +6237,11 @@ const stringsPolish = {
|
|
|
6237
6237
|
'Invalid promo code': {
|
|
6238
6238
|
value: 'Nieprawidłowy kod promocyjny',
|
|
6239
6239
|
},
|
|
6240
|
-
'It looks like you placed an order
|
|
6241
|
-
value: 'Wygląda na to, że złożyłeś zamówienie
|
|
6240
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
6241
|
+
value: 'Wygląda na to, że niedawno złożyłeś zamówienie ([date] o [time]) pod numerem zamówienia #[orderNumber]. Sprawdź swoją skrzynkę e-mail, aby potwierdzić zamówienie. Czy na pewno chcesz złożyć kolejne zamówienie?',
|
|
6242
6242
|
},
|
|
6243
|
-
'It looks like you placed an order
|
|
6244
|
-
value: 'Wygląda na to, że złożyłeś zamówienie
|
|
6243
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
6244
|
+
value: 'Wygląda na to, że niedawno złożyłeś zamówienie ([date] o [time]). Sprawdź swoją pocztę e-mail, aby potwierdzić zamówienie. Czy na pewno chcesz złożyć kolejne?',
|
|
6245
6245
|
},
|
|
6246
6246
|
'Keep shopping': {
|
|
6247
6247
|
value: 'Kontynuuj zakupy',
|
|
@@ -6705,11 +6705,11 @@ const stringsPortuguese = {
|
|
|
6705
6705
|
'Invalid promo code': {
|
|
6706
6706
|
value: 'Código promocional inválido',
|
|
6707
6707
|
},
|
|
6708
|
-
'It looks like you placed an order
|
|
6709
|
-
value: 'Parece que você fez um pedido
|
|
6708
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
6709
|
+
value: 'Parece que você fez um pedido recentemente ([date] às [time]) sob o número de pedido #[orderNumber]. Verifique seu e-mail para a confirmação do pedido. Tem certeza de que deseja fazer outro pedido?',
|
|
6710
6710
|
},
|
|
6711
|
-
'It looks like you placed an order
|
|
6712
|
-
value: 'Parece que você fez um pedido
|
|
6711
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
6712
|
+
value: 'Parece que você fez um pedido recentemente ([date] às [time]). Verifique seu e-mail para a confirmação do pedido. Tem certeza de que deseja fazer outro?',
|
|
6713
6713
|
},
|
|
6714
6714
|
'Keep shopping': {
|
|
6715
6715
|
value: 'Continue comprando',
|
|
@@ -7173,11 +7173,11 @@ const stringsRussian = {
|
|
|
7173
7173
|
'Invalid promo code': {
|
|
7174
7174
|
value: 'Недействительный промо-код',
|
|
7175
7175
|
},
|
|
7176
|
-
'It looks like you placed an order
|
|
7177
|
-
value: 'Похоже, вы сделали заказ
|
|
7176
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
7177
|
+
value: 'Похоже, вы недавно сделали заказ ([date] в [time]) под номером заказа #[orderNumber]. Проверьте свою электронную почту для подтверждения заказа. Вы уверены, что хотите сделать еще один заказ?',
|
|
7178
7178
|
},
|
|
7179
|
-
'It looks like you placed an order
|
|
7180
|
-
value: 'Похоже, вы сделали заказ
|
|
7179
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
7180
|
+
value: 'Похоже, вы недавно сделали заказ ([date] в [time]). Проверьте свою электронную почту для подтверждения заказа. Вы уверены, что хотите сделать еще один?',
|
|
7181
7181
|
},
|
|
7182
7182
|
'Keep shopping': {
|
|
7183
7183
|
value: 'Продолжайте покупки',
|
|
@@ -7641,11 +7641,11 @@ const stringsSpanish = {
|
|
|
7641
7641
|
'Invalid promo code': {
|
|
7642
7642
|
value: 'Código promocional no válido',
|
|
7643
7643
|
},
|
|
7644
|
-
'It looks like you placed an order
|
|
7645
|
-
value: 'Parece que realizaste un pedido
|
|
7644
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
7645
|
+
value: 'Parece que realizaste un pedido recientemente ([date] a las [time]) bajo el número de pedido #[orderNumber]. Revisa tu correo electrónico para la confirmación del pedido. ¿Estás seguro de que quieres hacer otro pedido?',
|
|
7646
7646
|
},
|
|
7647
|
-
'It looks like you placed an order
|
|
7648
|
-
value: 'Parece que
|
|
7647
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
7648
|
+
value: 'Parece que hiciste un pedido recientemente ([date] a las [time]). Revisa tu correo electrónico para la confirmación del pedido. ¿Estás seguro de que quieres hacer otro?',
|
|
7649
7649
|
},
|
|
7650
7650
|
'Keep shopping': {
|
|
7651
7651
|
value: 'Sigue comprando',
|
|
@@ -8109,11 +8109,11 @@ const stringsSwedish = {
|
|
|
8109
8109
|
'Invalid promo code': {
|
|
8110
8110
|
value: 'Ogiltig kampanjkod',
|
|
8111
8111
|
},
|
|
8112
|
-
'It looks like you placed an order
|
|
8113
|
-
value: 'Det verkar som att du
|
|
8112
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
8113
|
+
value: 'Det verkar som att du nyligen har gjort en beställning ([date] kl. [time]) under ordernummer #[orderNumber]. Kontrollera din e-post för orderbekräftelsen. Är du säker på att du vill göra en ny beställning?',
|
|
8114
8114
|
},
|
|
8115
|
-
'It looks like you placed an order
|
|
8116
|
-
value: 'Det verkar som att du
|
|
8115
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
8116
|
+
value: 'Det verkar som att du nyligen har gjort en beställning ([date] kl. [time]). Kontrollera din e-post för orderbekräftelsen. Är du säker på att du vill göra en till?',
|
|
8117
8117
|
},
|
|
8118
8118
|
'Keep shopping': {
|
|
8119
8119
|
value: 'Fortsätt handla',
|
|
@@ -8577,11 +8577,11 @@ const stringsTurkish = {
|
|
|
8577
8577
|
'Invalid promo code': {
|
|
8578
8578
|
value: 'Geçersiz promosyon kodu',
|
|
8579
8579
|
},
|
|
8580
|
-
'It looks like you placed an order
|
|
8581
|
-
value: 'Görünüşe göre
|
|
8580
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
8581
|
+
value: 'Görünüşe göre yakın zamanda bir sipariş verdiniz ([date] tarihinde [time] saatinde) #[orderNumber] sipariş numarasıyla. Sipariş onayı için e-postanızı kontrol edin. Başka bir sipariş vermek istediğinizden emin misiniz?',
|
|
8582
8582
|
},
|
|
8583
|
-
'It looks like you placed an order
|
|
8584
|
-
value: 'Görünüşe göre
|
|
8583
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
8584
|
+
value: 'Görünüşe göre yakın zamanda bir sipariş verdiniz ([date] saat [time]). Sipariş onayı için e-postanızı kontrol edin. Başka bir sipariş vermek istediğinizden emin misiniz?',
|
|
8585
8585
|
},
|
|
8586
8586
|
'Keep shopping': {
|
|
8587
8587
|
value: 'Alışverişe devam et',
|
|
@@ -9045,11 +9045,11 @@ const stringsVietnamese = {
|
|
|
9045
9045
|
'Invalid promo code': {
|
|
9046
9046
|
value: 'Mã khuyến mãi không hợp lệ',
|
|
9047
9047
|
},
|
|
9048
|
-
'It looks like you placed an order
|
|
9049
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
9048
|
+
'It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?': {
|
|
9049
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]) với số đơn hàng #[orderNumber]. Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt hàng khác không?',
|
|
9050
9050
|
},
|
|
9051
|
-
'It looks like you placed an order
|
|
9052
|
-
value: 'Có vẻ như bạn đã đặt hàng
|
|
9051
|
+
'It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?': {
|
|
9052
|
+
value: 'Có vẻ như bạn đã đặt hàng gần đây ([date] lúc [time]). Kiểm tra email của bạn để xác nhận đơn hàng. Bạn có chắc chắn muốn đặt thêm một cái nữa không?',
|
|
9053
9053
|
},
|
|
9054
9054
|
'Keep shopping': {
|
|
9055
9055
|
value: 'Tiếp tục mua sắm',
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -129,7 +129,7 @@ const getZonosQaUrl = () => {
|
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
131
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
132
|
-
const cdnUrl = "https://v1.3.
|
|
132
|
+
const cdnUrl = "https://v1.3.151.js.zonos.com";
|
|
133
133
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
134
134
|
if (!qaUrl &&
|
|
135
135
|
(cdnUrl.includes('test.') ||
|
|
@@ -313,10 +313,10 @@ const zonosLoadUrl = (() => {
|
|
|
313
313
|
}
|
|
314
314
|
return null;
|
|
315
315
|
})();
|
|
316
|
-
const ZONOS_URL = "https://v1.3.
|
|
317
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
318
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
319
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
316
|
+
const ZONOS_URL = "https://v1.3.151.js.zonos.com";
|
|
317
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.151";
|
|
318
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.151";
|
|
319
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.151";
|
|
320
320
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
321
321
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
322
322
|
class Zonos {
|
|
@@ -330,7 +330,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
|
|
|
330
330
|
!!window.location.search.match(/\?.*(&*)zonosConversionTest/);
|
|
331
331
|
Zonos._paypalMockResponse = null;
|
|
332
332
|
Zonos.isBigCommerce = false;
|
|
333
|
-
Zonos.releaseDate = "
|
|
333
|
+
Zonos.releaseDate = "1737654725866";
|
|
334
334
|
Zonos.isLegacyCheckout = false;
|
|
335
335
|
Zonos.domain = typeof window !== 'undefined'
|
|
336
336
|
? // domain that embeds the iframe
|
|
@@ -346,7 +346,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
|
|
|
346
346
|
Zonos.isNpm = true;
|
|
347
347
|
Zonos.zonosQaUrl = null;
|
|
348
348
|
Zonos.zonosQaUrlApi = null;
|
|
349
|
-
Zonos.version = `v${"1.3.
|
|
349
|
+
Zonos.version = `v${"1.3.151"}`;
|
|
350
350
|
Zonos.modeAlerted = false;
|
|
351
351
|
Zonos.cartData = null;
|
|
352
352
|
Zonos.paypal = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
4
|
-
const cart = require('./cart-
|
|
4
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
6
6
|
const isDarkColor = require('./isDarkColor-2acf30d1.js');
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
9
9
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
@@ -79,12 +79,14 @@ const ZonosAddress = class {
|
|
|
79
79
|
const shippingZone = shippableCountries
|
|
80
80
|
? Object.values(shippableCountries).map(country => country.code)
|
|
81
81
|
: [];
|
|
82
|
+
// Show all countries in checkout if the query param is present
|
|
83
|
+
const checkoutAllCountries = new URLSearchParams(window.location.search).has('zonosCheckoutAllCountries');
|
|
82
84
|
const allowedCountries = this.type === 'shipping' ? shippingZone : [];
|
|
83
85
|
const defaultAddressCountry = (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
|
|
84
86
|
cart.getFallbackDefaultCountryCode(allowedCountries);
|
|
85
87
|
handleFetch.log(`Stripe country code: ${defaultAddressCountry}`, 'info');
|
|
86
88
|
const addressElement = stripeElements.create('address', {
|
|
87
|
-
allowedCountries,
|
|
89
|
+
allowedCountries: checkoutAllCountries ? [] : allowedCountries,
|
|
88
90
|
// only show the default address if stripeAddressEventData is not provided
|
|
89
91
|
contacts: this.defaultAddress && !stripeAddressEventData
|
|
90
92
|
? [this.defaultAddress]
|
|
@@ -160,7 +162,7 @@ const ZonosAddress = class {
|
|
|
160
162
|
}
|
|
161
163
|
render() {
|
|
162
164
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
163
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index.h(index.Host, { key: '2bc89330a07e2f14f21805d8d38a5455b85cf295', class: "zonos--address zonos--elements" }, index.h("zonos-text", { key: '17f156c41379d68822f605e7fd4a8329d32b7dee', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("div", { key: '5f032eab47ca5751ee38ea644d00255d9d12a588', class: "zonos--address-component" })));
|
|
164
166
|
}
|
|
165
167
|
get el() { return index.getElement(this); }
|
|
166
168
|
static get watchers() { return {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const paypal = require('./paypal-
|
|
8
|
+
const paypal = require('./paypal-d4d0bb3c.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
11
11
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
|
+
const paypal = require('./paypal-d4d0bb3c.js');
|
|
8
8
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
10
10
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
@@ -241,7 +241,7 @@ const MessageIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none"
|
|
|
241
241
|
</svg>
|
|
242
242
|
`;
|
|
243
243
|
|
|
244
|
-
const zonosCheckoutCss = ".sc-zonos-checkout-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-h *.sc-zonos-checkout{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-checkout-h img.sc-zonos-checkout{max-width:100%}.sc-zonos-checkout-h dl.sc-zonos-checkout,.sc-zonos-checkout-h dd.sc-zonos-checkout,.sc-zonos-checkout-h h1.sc-zonos-checkout,.sc-zonos-checkout-h h2.sc-zonos-checkout,.sc-zonos-checkout-h h3.sc-zonos-checkout,.sc-zonos-checkout-h h4.sc-zonos-checkout,.sc-zonos-checkout-h h5.sc-zonos-checkout,.sc-zonos-checkout-h h6.sc-zonos-checkout,.sc-zonos-checkout-h hr.sc-zonos-checkout,.sc-zonos-checkout-h figure.sc-zonos-checkout,.sc-zonos-checkout-h p.sc-zonos-checkout,.sc-zonos-checkout-h pre.sc-zonos-checkout{margin:0}.sc-zonos-checkout-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-h *.sc-zonos-checkout{-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar{width:10px}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;height:100%;overflow:hidden;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex:1;flex:1;padding:32px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{background-color:var(--zonos--primary-color, var(--zonos-elements-gray-0));border-right:1px solid var(--zonos-elements-gray-200)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{background-color:var(--zonos-elements-gray-0)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:100%;max-height:100%;height:100%;overflow:auto;-ms-flex-direction:column;flex-direction:column;background-color:var(--zonos-elements-gray-0);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:24px;padding-bottom:50px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--
|
|
244
|
+
const zonosCheckoutCss = ".sc-zonos-checkout-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-checkout-h *.sc-zonos-checkout{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-checkout-h img.sc-zonos-checkout{max-width:100%}.sc-zonos-checkout-h dl.sc-zonos-checkout,.sc-zonos-checkout-h dd.sc-zonos-checkout,.sc-zonos-checkout-h h1.sc-zonos-checkout,.sc-zonos-checkout-h h2.sc-zonos-checkout,.sc-zonos-checkout-h h3.sc-zonos-checkout,.sc-zonos-checkout-h h4.sc-zonos-checkout,.sc-zonos-checkout-h h5.sc-zonos-checkout,.sc-zonos-checkout-h h6.sc-zonos-checkout,.sc-zonos-checkout-h hr.sc-zonos-checkout,.sc-zonos-checkout-h figure.sc-zonos-checkout,.sc-zonos-checkout-h p.sc-zonos-checkout,.sc-zonos-checkout-h pre.sc-zonos-checkout{margin:0}.sc-zonos-checkout-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-checkout-h *.sc-zonos-checkout{-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar{width:10px}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-checkout-h *.sc-zonos-checkout::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;height:100%;overflow:hidden;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex:1;flex:1;padding:32px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{background-color:var(--zonos--primary-color, var(--zonos-elements-gray-0));border-right:1px solid var(--zonos-elements-gray-200)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{background-color:var(--zonos-elements-gray-0)}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:100%;max-height:100%;height:100%;overflow:auto;-ms-flex-direction:column;flex-direction:column;background-color:var(--zonos-elements-gray-0);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:24px;padding-bottom:50px}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--header.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:100%}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout .zonos--logo.sc-zonos-checkout{margin-bottom:0}.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout zonos-checkout-finish.sc-zonos-checkout{-ms-flex:1;flex:1}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{padding:0 8px 8px}.sc-zonos-checkout-h .zonos--left.sc-zonos-checkout .zonos--payment-error-banner.sc-zonos-checkout{margin-top:24px}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout{position:relative}.sc-zonos-checkout-h .zonos--right.sc-zonos-checkout .zonos--right-actions.sc-zonos-checkout{position:absolute;right:24px;top:24px;z-index:2;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--wrapper.sc-zonos-checkout{overflow:auto;max-height:100%;position:relative}.sc-zonos-checkout-h .flex--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%}.sc-zonos-checkout-h .zonos--logo-wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;gap:16px;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--logo-wrapper.sc-zonos-checkout>*.sc-zonos-checkout{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.sc-zonos-checkout-h .zonos--logo.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sc-zonos-checkout-h .zonos--logo.sc-zonos-checkout img.sc-zonos-checkout{max-height:72px}.sc-zonos-checkout-h .zonos--checkout-default-message.sc-zonos-checkout{margin-left:76px;margin-bottom:8px}.zonos--close-button.sc-zonos-checkout{-ms-flex-item-align:start;align-self:flex-start}.preview.sc-zonos-checkout-h{min-width:500px;margin:auto}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{border:var(--zonos-elements-border)}.preview.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{padding:32px}.mobile.sc-zonos-checkout-h{min-width:auto}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:auto;border-radius:0;max-height:100%;height:100%;border:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding:12px;padding-bottom:76px}@media (max-width: 768px){.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout,.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{padding-bottom:0}}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--left.sc-zonos-checkout{-ms-flex-order:2;order:2;border-right:none}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout{-ms-flex-order:1;order:1;padding-top:16px}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));background-color:var(--zonos-elements-gray-50);padding:12px;margin-top:32px}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--review.sc-zonos-checkout{margin-bottom:0}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--right.sc-zonos-checkout .zonos--cart-items.sc-zonos-checkout{margin-top:8px}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout zonos-checkout-footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--wrapper.sc-zonos-checkout{max-height:100%}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--footer.sc-zonos-checkout{-ms-flex-order:3;order:3}.mobile.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout .zonos--done.sc-zonos-checkout{width:auto}.mobile.sc-zonos-checkout-h .zonos--cart-subtotal.sc-zonos-checkout{margin:0}.iframed.sc-zonos-checkout-h .zonos--content.sc-zonos-checkout{-ms-scroll-chaining:chained;overscroll-behavior:auto}";
|
|
245
245
|
const ZonosCheckoutStyle0 = zonosCheckoutCss;
|
|
246
246
|
|
|
247
247
|
// 90 minutes
|
|
@@ -781,16 +781,16 @@ const ZonosCheckout = class {
|
|
|
781
781
|
customerZip,
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
|
-
applyPrefillAddress(
|
|
785
|
-
const line1 = customerAddress1 || '';
|
|
786
|
-
const country = customerCountry || '';
|
|
787
|
-
const line2 = customerAddress2 || '';
|
|
788
|
-
const city = customerCity || '';
|
|
789
|
-
const email = customerEmail || '';
|
|
790
|
-
const name = customerName || '';
|
|
791
|
-
const phone = customerPhone || '';
|
|
792
|
-
const postal_code = customerZip || '';
|
|
793
|
-
const state = customerState || '';
|
|
784
|
+
applyPrefillAddress(address) {
|
|
785
|
+
const line1 = address.customerAddress1 || '';
|
|
786
|
+
const country = address.customerCountry || '';
|
|
787
|
+
const line2 = address.customerAddress2 || '';
|
|
788
|
+
const city = address.customerCity || '';
|
|
789
|
+
const email = address.customerEmail || '';
|
|
790
|
+
const name = address.customerName || '';
|
|
791
|
+
const phone = address.customerPhone || '';
|
|
792
|
+
const postal_code = address.customerZip || '';
|
|
793
|
+
const state = address.customerState || '';
|
|
794
794
|
/**
|
|
795
795
|
* If one of the value is null, no need to preset the default address.
|
|
796
796
|
* City and state are optional (they are not always provided for example Puerto Rico)
|
|
@@ -819,6 +819,10 @@ const ZonosCheckout = class {
|
|
|
819
819
|
name,
|
|
820
820
|
phone,
|
|
821
821
|
};
|
|
822
|
+
handleFetch.log('Prefill address applied', 'info', {
|
|
823
|
+
prefillAddress: this.defaultAddressParams,
|
|
824
|
+
providedAddress: address,
|
|
825
|
+
});
|
|
822
826
|
}
|
|
823
827
|
overrideStagingModeChanged() {
|
|
824
828
|
cart.cartStore.isStagingMode = !!this.overrideStagingMode;
|
|
@@ -1228,12 +1232,12 @@ const ZonosCheckout = class {
|
|
|
1228
1232
|
* Show order number if it's available, otherwise just show the time
|
|
1229
1233
|
*/
|
|
1230
1234
|
((_b = this.placedOrderInfo) === null || _b === void 0 ? void 0 : _b.zonosOrderNumber)
|
|
1231
|
-
? cart.translate('It looks like you placed an order
|
|
1235
|
+
? cart.translate('It looks like you placed an order recently ([date] at [time]) under order number #[orderNumber]. Check your email for the order confirmation. Are you sure you want to place another order?', {
|
|
1232
1236
|
date: this.formatDate(this.placedOrderInfo.time),
|
|
1233
1237
|
orderNumber: this.placedOrderInfo.zonosOrderNumber,
|
|
1234
1238
|
time: this.formatTime(this.placedOrderInfo.time),
|
|
1235
1239
|
})
|
|
1236
|
-
: cart.translate('It looks like you placed an order
|
|
1240
|
+
: cart.translate('It looks like you placed an order recently ([date] at [time]). Check your email for the order confirmation. Are you sure you want to place another one?', {
|
|
1237
1241
|
date: this.formatDate(((_c = this.placedOrderInfo) === null || _c === void 0 ? void 0 : _c.time) || null),
|
|
1238
1242
|
time: this.formatTime(((_d = this.placedOrderInfo) === null || _d === void 0 ? void 0 : _d.time) || null),
|
|
1239
1243
|
}), dialogTitle: cart.translate('Are you sure?'), dialogWidth: 530, onCancelClicked: () => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
9
9
|
require('./isDarkColor-2acf30d1.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-3673a0c2.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
9
|
const isDarkColor = require('./isDarkColor-2acf30d1.js');
|
|
@@ -6,9 +6,9 @@ const index = require('./index-2f90486e.js');
|
|
|
6
6
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-7d0772bf.js');
|
|
9
|
-
const cart = require('./cart-
|
|
9
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-3673a0c2.js');
|
|
11
|
-
const paypal = require('./paypal-
|
|
11
|
+
const paypal = require('./paypal-d4d0bb3c.js');
|
|
12
12
|
require('./isDarkColor-2acf30d1.js');
|
|
13
13
|
|
|
14
14
|
const PaymentEmptyStateDarkIcon = `<svg width="536" height="200" viewBox="0 0 536 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f90486e.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0ce9e90b.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-46809186.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|